'************************************************************************
'
'	TopStyle Opera 3.5 Definition
'
'************************************************************************

[definition]
Version=2.0
Revision=0
Author=Nick Bradbury
Icon=opera
NamedColors=0
SystemColors=0
RGBColors=1
@font-face=0

[known types]
<units>				= (pt|in|pc|mm|cm|px|em|ex)
<generic-family>	= (serif|sans\-serif|cursive|fantasy|monospace)
<absolute-size> 	= (xx\-small|x\-small|small|medium|large|x\-large|xx\-large)
<relative-size>		= (larger|smaller)

[selectors]
Class=Y
ID=Y
Contextual=Y
Child=Y
Descendant=Y
Sibling=Y
Attribute=N
Universal=Y

[pseudo]
:link
:visited
:first-line
:first-letter

[groups]
Color and Background
Box
Classification
Font
Text

[properties]
background
background-attachment
background-color
background-image
background-position
background-repeat
border
border-bottom
border-bottom-width
border-color
border-left
border-left-width
border-right
border-right-width
border-style
border-top
border-top-width
border-width
clear
color
display
float
font
font-family
font-size
font-style
font-variant
font-weight
height
letter-spacing
line-height
list-style
list-style-image
list-style-position
list-style-type
margin
margin-bottom
margin-left
margin-right
margin-top
padding
padding-bottom
padding-left
padding-right
padding-top
text-align
text-decoration
text-indent
text-transform
vertical-align
width
word-spacing

[background]
inherited=0
initial=
group=Color and Background
value1=<background-color>
value2=<background-image>
value3=<background-repeat>
value4=<background-attachment>
value5=<background-position>

[background-attachment]
inherited=0
initial=scroll
group=Color and Background
value1=scroll

[background-color]
inherited=0
initial=transparent
group=Color and Background
value1=transparent|<color>

[background-image]
inherited=0
initial=none
group=Color and Background
value1=<url>|none

[background-position]
inherited=0
initial=0% 0%
group=Color and Background
multiple=1
value1=(<percentage>|<length>)||(top|center|bottom)||(left|center|right)

[background-repeat]
inherited=0
initial=repeat
group=Color and Background
value1=repeat\-x|repeat\-y|no\-repeat|repeat

[border]
inherited=0
initial=
group=Box
value1=<border-width>
value2=<border-style>
value3=<color>

[border-bottom]
inherited=0
group=Box
value1=<border-bottom-width>
value2=<border-style>
value3=<color>

[border-bottom-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-color]
inherited=0
group=Box
value1=<color>
value2=<color>
value3=<color>
value4=<color>

[border-left]
inherited=0
group=Box
value1=<border-left-width>
value2=<border-style>
value3=<color>

[border-left-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-right]
inherited=0
group=Box
value1=<border-right-width>
value2=<border-style>
value3=<color>

[border-right-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-style]
inherited=0
initial=none
group=Box
value1=(none|dotted|dashed|solid|double|groove|ridge|inset|outset){1,4}

[border-top]
inherited=0
initial=
group=Box
value1=<border-top-width>
value2=<border-style>
value3=<color>

[border-top-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-width]
inherited=0
initial=
group=Box
value1=<border-top-width>
value2=<border-right-width>
value3=<border-bottom-width>
value4=<border-left-width>

[clear]
inherited=0
initial=none
group=Box
value1=none|left|right|both

[color]
inherited=1
group=Color and Background
value1=<color>

[display]
inherited=0
initial=block
group=Classification
value1=block|none

[float]
inherited=0
initial=none
group=Box
value1=left|right|none

[font]
inherited=1
initial=
group=Font
value1=<font-weight>
value2=<font-style>
value3=<font-variant>
value4=<font-size>
value5=<line-height>
value6=<font-family>

[font-family]
inherited=1
initial=
group=Font
value1=((<generic-family>|<family-name>),)*(<generic-family>|<family-name>)

[font-size]
inherited=1
initial=medium
group=Font
value1=<relative-size>|<absolute-size>|<percentage>|<length>

[font-style]
inherited=1
initial=normal
group=Font
value1=normal|italic|oblique

[font-variant]
inherited=1
initial=normal
group=Font
value1=normal|small\-caps

[font-weight]
inherited=1
initial=normal
group=Font
value1=normal|bolder|bold|lighter|100|200|300|400|500|600|700|800|900

[height]
inherited=0
initial=auto
group=Box
value1=<length>|auto

[letter-spacing]
inherited=1
initial=normal
group=Text
value1=normal|<length>

[line-height]
inherited=1
initial=normal
group=Text
value1=normal|<percentage>|<length>|<number>

[list-style]
inherited=1
initial=
group=Classification
value1=<list-style-type>
value2=<list-style-position>
value3=<list-style-image>

[list-style-image]
inherited=1
initial=none
group=Classification
value1=<url>|none

[list-style-position]
inherited=1
initial=outside
group=Classification
value1=inside|outside

[list-style-type]
inherited=1
initial=disc
group=Classification
value1=disc|circle|square|decimal|lower\-roman|upper\-roman|lower\-alpha|upper\-alpha|none

[margin]
inherited=0
initial=
group=Box
value1=<margin-top>
value2=<margin-right>
value3=<margin-bottom>
value4=<margin-left>

[margin-bottom]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-left]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-right]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-top]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[padding]
inherited=0
initial=
group=Box
value1=<padding-top>
value2=<padding-right>
value3=<padding-bottom>
value4=<padding-left>

[padding-bottom]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-left]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-right]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-top]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[text-align]
inherited=1
initial=
group=Text
value1=left|right|center|justify

[text-decoration]
inherited=0
initial=none
group=Text
multiple=1
value1=none|(underline||overline||line\-through)

[text-indent]
inherited=1
initial=0
group=Text
value1=<percentage>|<length>

[text-transform]
inherited=1
initial=none
group=Text
value1=capitalize|uppercase|lowercase|none

[vertical-align]
inherited=0
initial=baseline
group=Text
value1=baseline|sub|super|top|text\-top|middle|bottom|text\-bottom|<percentage>

[width]
inherited=0
initial=auto
group=Box
value1=<percentage>|<length>|auto

[word-spacing]
inherited=1
initial=normal
group=Text
value1=normal|<length>

[browser-tips]
property = border-left|border-right|border-bottom|border-top|border
message  = Opera 3.5 does not apply border styles to table elements.
property = line-height
message  = Opera 3.5 applies background colors to the space between lines.